package com.huiyujinrong.qiangdanbao.city.citybean;

import java.util.List;

/**
 * Created by Asus on 2017/4/9.
 */

public class CityModel {
    private String text;
    private String value;
    private List<DistrictModel> children;

    public CityModel(String text, List<DistrictModel> children) {
        this.text = text;
        this.children = children;
    }


    public CityModel(String text, String value) {
        this.text = text;
        this.value = value;
    }

    public CityModel() {
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<DistrictModel> getChildren() {
        return children;
    }

    public void setChildren(List<DistrictModel> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "CityModel{" +
                "text='" + text + '\'' +
                ", children=" + children +
                '}';
    }
}
